<?php session_start(); 
if ( $_SESSION["level"] == null ) header("location:login.php");
?>
<!DOCTYPE html>
<html>
 <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <link rel="shortcut icon" href="./files/img/favicon.ico">
  <title>IAD - Euromedica</title>
 </head>

<link type="text/css" href="./files/jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="./files/jquery-1.6.4.js"></script>
<script type="text/javascript" src="./files/jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>

<style type="text/css">
  @import "style2.css";
</style>

<script type="text/javascript" src="./scripts.js"></script>

 <?php 
   include 'sql.php';
 ?>

<body>

<div id="access">
  <?php showRightPanel(); ?>
</div> <!--End of access-->

  <!--
  Start Header Area
  -->
<div id="header">
</div><!-- End of HEADER -->

<div id="ribbon">
  <table>
    <tr>

    </tr>
  </table>
</div><!--End of ribbon-->

 <!--
  Start Left Panel Area
  -->
 <?php showLeftPanel($_SESSION['level'], $_SESSION['user']); ?>
    <!--
    End of Left_panel
    -->

 <!--
  Start Container Area
  -->
 <div id="container">
  <div id="content"><!-- Content Area-->
   <?php //checkSpam() ?>
    <form method='post' action='sql.php'>
      Θέμα: <input name='subject' type='text' /><br /><br />
      Μήνυμα:<br />
      <textarea name='message' rows='15' cols='40'></textarea><br />
      <input type='submit' name="sendmail" />
    </form>
  </div><!--END of content-->
</div><!--END of container-->

<?php showFooter(); ?><!--END of footer-->

</body>